package com.gxa.ssm251.pojo;

public class UserFactory {
    public User newInstance(){
        User user = new User();
        user.setName("lailu");
        return user;
    }


    public static User newInstance1(){
        User user = new User();
        user.setName("laiying");
        return user;
    }
}
